package com.ytjj.qmyx.mall.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class ProductLibrary implements Serializable {
    /**
     * 主键
     *
     * @mbg.generated
     */
    private Integer id;

    /**
     * 分类id
     *
     * @mbg.generated
     */
    private Integer categoryId;

    /**
     * 一级分类id
     *
     * @mbg.generated
     */
    private Integer categroyPid;

    /**
     * 店家id
     *
     * @mbg.generated
     */
    private Integer bankerId;

    /**
     * 货源
     *
     * @mbg.generated
     */
    private String warehouse;

    /**
     * 商品标识
     *
     * @mbg.generated
     */
    private String productNo;

    /**
     * 商品名称
     *
     * @mbg.generated
     */
    private String productName;

    /**
     * 商品白图
     *
     * @mbg.generated
     */
    private String productImg;

    /**
     * 描述
     *
     * @mbg.generated
     */
    private String descr;

    /**
     * 产品状态：1 上架 2 下架  3已删除
     *
     * @mbg.generated
     */
    private Byte status;

    /**
     * 排序
     *
     * @mbg.generated
     */
    private Integer sort;

    /**
     * 成本价格
     *
     * @mbg.generated
     */
    private BigDecimal costPrice;

    /**
     * 库存总量
     *
     * @mbg.generated
     */
    private Integer stock;

    /**
     * 发布时间
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     * 修改时间
     *
     * @mbg.generated
     */
    private Date updateTime;

    /**
     * 费率
     *
     * @mbg.generated
     */
    private BigDecimal rate;

    /**
     * 是否有合格证 0->否 1->是
     *
     * @mbg.generated
     */
    private Integer isCertificate;

    /**
     * 生产厂家
     *
     * @mbg.generated
     */
    private String manufacturer;

    /**
     * 厂家地址
     *
     * @mbg.generated
     */
    private String manufacturerAddress;

    /**
     * 厂家电话
     *
     * @mbg.generated
     */
    private String manufacturerTel;

    /**
     * 保修期
     *
     * @mbg.generated
     */
    private String warrantyPeriod;

    /**
     * 常发快递
     *
     * @mbg.generated
     */
    private String normalExpress;

    /**
     * 常见售后问题
     *
     * @mbg.generated
     */
    private String afterSalesProblem;

    /**
     * 退货地址
     *
     * @mbg.generated
     */
    private String returnAddress;

    /**
     * 退货电话
     *
     * @mbg.generated
     */
    private String returnTel;

    /**
     * 安装视频
     *
     * @mbg.generated
     */
    private String installVideo;

    /**
     * 是否被选品 0->否 1->是
     *
     * @mbg.generated
     */
    private Integer isSelect;

    /**
     * 店家名称
     *
     * @mbg.generated
     */
    private String bankerName;

    /**
     * 附件url
     *
     * @mbg.generated
     */
    private String zipUrl;

    /**
     * sku属性json列表
     *
     * @mbg.generated
     */
    private String attributeJson;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }

    public Integer getCategroyPid() {
        return categroyPid;
    }

    public void setCategroyPid(Integer categroyPid) {
        this.categroyPid = categroyPid;
    }

    public Integer getBankerId() {
        return bankerId;
    }

    public void setBankerId(Integer bankerId) {
        this.bankerId = bankerId;
    }

    public String getWarehouse() {
        return warehouse;
    }

    public void setWarehouse(String warehouse) {
        this.warehouse = warehouse;
    }

    public String getProductNo() {
        return productNo;
    }

    public void setProductNo(String productNo) {
        this.productNo = productNo;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductImg() {
        return productImg;
    }

    public void setProductImg(String productImg) {
        this.productImg = productImg;
    }

    public String getDescr() {
        return descr;
    }

    public void setDescr(String descr) {
        this.descr = descr;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public BigDecimal getCostPrice() {
        return costPrice;
    }

    public void setCostPrice(BigDecimal costPrice) {
        this.costPrice = costPrice;
    }

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public BigDecimal getRate() {
        return rate;
    }

    public void setRate(BigDecimal rate) {
        this.rate = rate;
    }

    public Integer getIsCertificate() {
        return isCertificate;
    }

    public void setIsCertificate(Integer isCertificate) {
        this.isCertificate = isCertificate;
    }

    public String getManufacturer() {
        return manufacturer;
    }

    public void setManufacturer(String manufacturer) {
        this.manufacturer = manufacturer;
    }

    public String getManufacturerAddress() {
        return manufacturerAddress;
    }

    public void setManufacturerAddress(String manufacturerAddress) {
        this.manufacturerAddress = manufacturerAddress;
    }

    public String getManufacturerTel() {
        return manufacturerTel;
    }

    public void setManufacturerTel(String manufacturerTel) {
        this.manufacturerTel = manufacturerTel;
    }

    public String getWarrantyPeriod() {
        return warrantyPeriod;
    }

    public void setWarrantyPeriod(String warrantyPeriod) {
        this.warrantyPeriod = warrantyPeriod;
    }

    public String getNormalExpress() {
        return normalExpress;
    }

    public void setNormalExpress(String normalExpress) {
        this.normalExpress = normalExpress;
    }

    public String getAfterSalesProblem() {
        return afterSalesProblem;
    }

    public void setAfterSalesProblem(String afterSalesProblem) {
        this.afterSalesProblem = afterSalesProblem;
    }

    public String getReturnAddress() {
        return returnAddress;
    }

    public void setReturnAddress(String returnAddress) {
        this.returnAddress = returnAddress;
    }

    public String getReturnTel() {
        return returnTel;
    }

    public void setReturnTel(String returnTel) {
        this.returnTel = returnTel;
    }

    public String getInstallVideo() {
        return installVideo;
    }

    public void setInstallVideo(String installVideo) {
        this.installVideo = installVideo;
    }

    public Integer getIsSelect() {
        return isSelect;
    }

    public void setIsSelect(Integer isSelect) {
        this.isSelect = isSelect;
    }

    public String getBankerName() {
        return bankerName;
    }

    public void setBankerName(String bankerName) {
        this.bankerName = bankerName;
    }

    public String getZipUrl() {
        return zipUrl;
    }

    public void setZipUrl(String zipUrl) {
        this.zipUrl = zipUrl;
    }

    public String getAttributeJson() {
        return attributeJson;
    }

    public void setAttributeJson(String attributeJson) {
        this.attributeJson = attributeJson;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", categoryId=").append(categoryId);
        sb.append(", categroyPid=").append(categroyPid);
        sb.append(", bankerId=").append(bankerId);
        sb.append(", warehouse=").append(warehouse);
        sb.append(", productNo=").append(productNo);
        sb.append(", productName=").append(productName);
        sb.append(", productImg=").append(productImg);
        sb.append(", descr=").append(descr);
        sb.append(", status=").append(status);
        sb.append(", sort=").append(sort);
        sb.append(", costPrice=").append(costPrice);
        sb.append(", stock=").append(stock);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", rate=").append(rate);
        sb.append(", isCertificate=").append(isCertificate);
        sb.append(", manufacturer=").append(manufacturer);
        sb.append(", manufacturerAddress=").append(manufacturerAddress);
        sb.append(", manufacturerTel=").append(manufacturerTel);
        sb.append(", warrantyPeriod=").append(warrantyPeriod);
        sb.append(", normalExpress=").append(normalExpress);
        sb.append(", afterSalesProblem=").append(afterSalesProblem);
        sb.append(", returnAddress=").append(returnAddress);
        sb.append(", returnTel=").append(returnTel);
        sb.append(", installVideo=").append(installVideo);
        sb.append(", isSelect=").append(isSelect);
        sb.append(", bankerName=").append(bankerName);
        sb.append(", zipUrl=").append(zipUrl);
        sb.append(", attributeJson=").append(attributeJson);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}